/**
 * Run periodically all the AJAX tags that have the autotrigger "periodic".
 */
function runPeriodic(){
	var periodics=$('[autotrigger~=periodic]');
	if(0<periodics.length){
		periodics.sendAjaxForm();
	}
	setTimeout(runPeriodic,10000);
}

/**
 * Starts the periodic function.
 */
$(function(){
		runPeriodic();
});
